Skip to content

Avoid internal modifiers to simplify logic#75

Open
k06a wants to merge 3 commits intomasterfrom
refactor/no-internal-modifiers
Open

Avoid internal modifiers to simplify logic#75
k06a wants to merge 3 commits intomasterfrom
refactor/no-internal-modifiers

Conversation

@k06a
Copy link
Copy Markdown
Contributor

@k06a k06a commented Jun 17, 2024

Static Code Analysis (readability, compactness):

I think modifiers on internal methods are a bit harder to follow, so tried to avoid it.

Dynamic Code Analysis (external APIs, interaction flows):

Similar behavior

Efficiency (gas costs, computational complexity, memory requirements):

A bit cheaper (10-20 gas) due to inlining probably

Opinion, trade-offs and other thoughts:

I don't have strong opinion here, but code seems easier to follow

@k06a k06a requested review from ZumZoom and byshape June 17, 2024 10:51
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 17, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants